00001 #if !defined(AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_)
00002 #define AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011
00012
00013 #ifndef __AFXEXT_H__
00014 #include <afxext.h>
00015 #endif
00016
00017 class deConnection;
00018
00019 class CNetUsersDiag : public CFormView
00020 {
00021 public:
00022 CNetUsersDiag();
00023 DECLARE_DYNCREATE(CNetUsersDiag)
00024
00025
00026 public:
00027
00028 enum { IDD = IDD_DIAG_NETUSERS };
00029 CXListCtrl m_lstNetUsers;
00030
00031
00032
00033 public:
00034
00035
00036 public:
00037
00038 bool RemoveConnection( deConnection * pConn );
00039 bool AddConnection( deConnection * pConn );
00040 void UpdateConnectionInfo( deConnection * pConn );
00041
00042 static CNetUsersDiag * GetWin( void ) { return m_Singleton; }
00043
00044
00045
00046
00047 public:
00048 virtual void OnInitialUpdate();
00049 protected:
00050 virtual void DoDataExchange(CDataExchange* pDX);
00051
00052
00053
00054 public:
00055 virtual ~CNetUsersDiag();
00056 protected:
00057 #ifdef _DEBUG
00058 virtual void AssertValid() const;
00059 virtual void Dump(CDumpContext& dc) const;
00060 #endif
00061
00062
00063
00064 afx_msg void OnSize(UINT nType, int cx, int cy);
00065
00066 DECLARE_MESSAGE_MAP()
00067
00068 private:
00069
00070 static CNetUsersDiag * m_Singleton;
00071 };
00072
00073
00074
00075
00076
00077
00078 #endif // !defined(AFX_NETUSERSDIAG_H__2F12B5A1_D4BE_41A4_84C7_5C686333482F__INCLUDED_)